package vn.fsoft.gst.service;

import java.util.List;

import vn.fsoft.gst.domain.SupportingMaterial;

/**
 * This SupportingMaterialService interface provides methods for processing
 * SupportingMaterial object
 * 
 * @author TienNM
 *
 */
public interface SupportingMaterialService {
	/**
	 * @param supportingMaterial
	 * @return id of object added to database
	 */
	public int addSupportingMaterial(SupportingMaterial supportingMaterial);

	/**
	 * @param supportingMaterial
	 */
	public void editSupportingMaterial(SupportingMaterial supportingMaterial);

	/**
	 * @param Id
	 */
	public void deleteSupportingMaterial(int Id);

	/**
	 * @return
	 */
	public List<SupportingMaterial> getAll();

	/**
	 * @param Id
	 */
	public void activeSupportingMaterial(int Id);

	/**
	 * @param Id
	 * @return
	 */
	public SupportingMaterial getById(int Id);

	/**
	 * @param orgID
	 * @return list of Supporting Material of Organisation with orgID
	 */
	public List<SupportingMaterial> getByOrg(int orgID);
}
